package com.pig4cloud.mall.product.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 品牌表
 *
 * @author fangyu
 * @date 2020-12-26 23:41:08
 */
@Data
@TableName("pms_brand")
@EqualsAndHashCode(callSuper = true)
@ApiModel(value = "品牌表")
public class Brand extends Model<Brand> {
	private static final long serialVersionUID = 1L;

	/**
	 * 品牌id
	 */
	@TableId
	@ApiModelProperty(value = "品牌id")
	private Long id;
	/**
	 * 品牌名字
	 */
	@ApiModelProperty(value = "品牌名字")
	private String name;
	/**
	 * 首字母
	 */
	@ApiModelProperty(value = "首字母")
	private String firstLetter;
	/**
	 * 排序字段
	 */
	@ApiModelProperty(value = "排序字段")
	private Integer sort;
	/**
	 * 是否为品牌制造商：0->不是；1->是
	 */
	@ApiModelProperty(value = "是否为品牌制造商：0->不是；1->是")
	private Integer factoryStatus;
	/**
	 * 显示状态
	 */
	@ApiModelProperty(value = "显示状态")
	private Integer showStatus;
	/**
	 * 产品数量
	 */
	@ApiModelProperty(value = "产品数量")
	private Integer productCount;
	/**
	 * 产品评论数量
	 */
	@ApiModelProperty(value = "产品评论数量")
	private Integer productCommentCount;
	/**
	 * 品牌logo
	 */
	@ApiModelProperty(value = "品牌logo")
	private String logo;
	/**
	 * 专区大图
	 */
	@ApiModelProperty(value = "专区大图")
	private String bigPic;
	/**
	 * 品牌故事
	 */
	@ApiModelProperty(value = "品牌故事")
	private String brandStory;
}
